<?php
# User session management
require_once($server->my_site[0]->path.$server->my_site[0]->folder."distributor_manage.php");

if (!$distributor->id) {
	include($server->get_path_name('login.php'));
}
else {
?>
	<h1>Distribuidor: <?php echo $distributor->firstname . " " . $distributor->lastname; ?></h1>
	<form action="?section=disconnect" method="post" myFor="#login"><input type="submit" value="Logout"></form>
<?php
}
?>